package com.asset.crm.client;

import java.util.ArrayList;
import java.util.List;

public class ValidationMessages {
	
	static String Error_Empty_product = "enter product name and code";
	 static String Error_Empty_Quantity = "enter product quantity";
	 static String Error_Empty_Service = "enter service name";
	 static String Error_Empty_Hours = "enter number of hours";
	 static  String Error_Empty_HoursCost = "enter cost per hour";
	public static List<String> errors = new ArrayList<String>();
	
	public static String getError_Empty_product() {
		errors.add(Error_Empty_product);
		return Error_Empty_product;
	}
	public static String getError_Empty_Quantity() {
		errors.add(Error_Empty_Quantity);
		return Error_Empty_Quantity;
	}
	public static String getError_Empty_Service() {
		errors.add(Error_Empty_Service);
		return Error_Empty_Service;
	}
	public static String getError_Empty_Hours() {
		errors.add(Error_Empty_Hours);
		return Error_Empty_Hours;
	}
	public static String getError_Empty_HoursCost() {
		errors.add(Error_Empty_HoursCost);
		return Error_Empty_HoursCost;
	}
	public static List<String> getErrors() {
		return errors;
	}
	public static void setErrors(List<String> errors) {
		ValidationMessages.errors = errors;
	}
	public static void setError_Empty_product(String error_Empty_product) {
		errors.add(Error_Empty_product);
		Error_Empty_product = error_Empty_product;
	}
	public static void setError_Empty_Quantity(String error_Empty_Quantity) {
		errors.add(Error_Empty_Quantity);
		Error_Empty_Quantity = error_Empty_Quantity;
	}
	public static void setError_Empty_Service(String error_Empty_Service) {
		errors.add(Error_Empty_Service);
		Error_Empty_Service = error_Empty_Service;
	}
	public static void setError_Empty_Hours(String error_Empty_Hours) {
		errors.add(Error_Empty_Hours);
		Error_Empty_Hours = error_Empty_Hours;
	}
	public static void setError_Empty_HoursCost(String error_Empty_HoursCost) {
		errors.add(Error_Empty_HoursCost);
		Error_Empty_HoursCost = error_Empty_HoursCost;
	}
	

}
